package com.mdp.workflow.editor;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
/**
 * url编制采用rest风格,如对WF.act_de_model的操作有增删改查,对应的url分别为:<br>
 *  新增: workflow/de/model/add <br>
 *  查询: workflow/de/model/list<br>
 *  模糊查询: workflow/de/model/listKey<br>
 *  修改: workflow/de/model/edit <br>
 *  删除: workflow/de/model/del<br>
 *  批量删除: workflow/de/model/batchDel<br>
 * 组织 com.qqkj  顶级模块 mdp 大模块 workflow 小模块 de<br>
 * 实体 Model 表 WF.act_de_model 当前主键(包括多主键): id; 
 ***/
@Controller("mdp.workflow.editor.EditorController")
@RequestMapping(value="/**/editor")
public class EditorController {
	
	static Log logger=LogFactory.getLog(EditorController.class);
	 
		
	
	/**
	 * 请求,如list
	 * 分页参数 {currentPage:1,pageSize:10,total:0}
	 * 根据条件查询数据对象列表,如果不上传分页参数，将不会分页。后台自动分页，无需编程
	 */
	@RequestMapping(value="/index")
	public ModelAndView indexIframe(){
		ModelAndView mav=new ModelAndView();
		mav.setViewName("/editor/indexIframe.html");
		return mav; 
	}
	 
}
